package com.gxa.hystrix.interfaces;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

/**
 * @author xyc
 * @version 1.0
 * @description ServiceBFeignByGuaHaoTongJi.java
 * @date 2021/3/24 9:23
 */
@FeignClient(value = "EUREKA-CLIENT-GUAHAO02")
public interface ServiceFeignByGuaHaoTongJi {
    @GetMapping( "/guaHaoJiLu/chaXunDayCount")
    @ApiOperation(value = "查询每日挂号记录接口",notes = "查询每日挂号个数",httpMethod = "GET")
    Map<String, Object> chaXunDayCount();

    @GetMapping( "/guaHaoJiLu/chaXunDayPayment")
    @ApiOperation(value = "查询每日挂号记录接口",notes = "查询每日挂号个数",httpMethod = "GET")
    Map<String, Object> chaXunDayPayment();

    @GetMapping( "/guaHaoJiLu/chaXunDayPaymentById")
    @ApiOperation(value = "查询每日挂号记录接口",notes = "查询每日挂号个数",httpMethod = "GET")
    @ApiModelProperty(value = "用于查询的账号id",name="id",dataType = "String")
    Map<String, Object> chaXunDayPaymentById(String id);

    @GetMapping( "/guaHaoJiLu/chaXunMonthCount")
    @ApiOperation(value = "查询每日挂号记录接口",notes = "查询每日挂号个数",httpMethod = "GET")
    Map<String, Object> chaXunMonthCount();

    @GetMapping( "/guaHaoJiLu/chaXunMonthPayment")
    @ApiOperation(value = "查询每日挂号记录接口",notes = "查询每日挂号个数",httpMethod = "GET")
    Map<String, Object> chaXunMonthPayment();

    @GetMapping( "/guaHaoJiLu/chaXunMonthPaymentRecord")
    @ApiOperation(value = "查询当月挂号金额统计记录接口",notes = "查询当月挂号统计记录",httpMethod = "GET")
    Map<String, Object> chaXunMonthPaymentRecord();

    @GetMapping( "/guaHaoJiLu/chaXunMonthCountRecord")
    @ApiOperation(value = "查询当月挂号个数统计记录接口",notes = "查询当月挂号统计记录",httpMethod = "GET")
    Map<String, Object> chaXunMonthCountRecord();

    @GetMapping( "/guaHaoJiLu/chaXunMonthPaymentById")
    @ApiOperation(value = "查询当前账号每日挂号记录接口",notes = "查询当前账号每日挂号个数",httpMethod = "GET")
    @ApiModelProperty(value = "用于查询的账号id",name="id",dataType = "String")
    Map<String, Object> chaXunMonthPaymentById(String id);
}
